import React from 'react'

//服务列表
export async function apiServicePage(params) {
    return await React.$post('/admin/storeService/infoPage', params);
}
//服务详情
export async function apiServiceDetail(params) {
    return await React.$post('/admin/storeService/getServiceInfo', params);
}
//服务申请通过
export async function apiServiceApprove(params) {
    return await React.$post('/admin/storeService/approve', params);
}
//服务申请通过
export async function apiServiceRejected(params) {
    return await React.$post('/admin/storeService/rejected', params);
}
//服务类目
export async function apiServiceClassifyList(params) {
    return await React.$post('/admin/serviceClassify/list', params);
}
//服务修改
export async function apiServiceClassifyEdit(params) {
    return await React.$post('/admin/serviceClassify/edit', params);
}
//服务排序
export async function apiServiceClassifySort(params) {
    return await React.$post('/admin/serviceClassify/sort', params);
}
//服务新增
export async function apiServiceClassifyAdd(params) {
    return await React.$post('/admin/serviceClassify/add', params);
}
//服务删除
export async function apiServiceClassifyDel(params) {
    return await React.$post('/admin/serviceClassify/del', params);
}
//服务标签
export async function apiServiceShowLabelPage(params) {
    return await React.$post('/admin/serviceShowLabel/page', params);
}
//服务修改
export async function apiServiceShowLabelEdit(params) {
    return await React.$post('/admin/serviceShowLabel/edit', params);
}
//服务新增
export async function apiServiceShowLabelAdd(params) {
    return await React.$post('/admin/serviceShowLabel/add', params);
}
//服务删除
export async function apiServiceShowLabelDel(params) {
    return await React.$post('/admin/serviceShowLabel/del', params);
}
//服务开启-关闭
export async function apiServicePutaway(params) {
    return await React.$post('/admin/storeService/putaway', params);
}